#ifndef EQUALIZEWINDOW_H
#define EQUALIZEWINDOW_H

#include "../ui_multimedia_toolbox.h"
#include <QLabel>
#include <QMainWindow>
#include <QMenuBar>
#include <QAction>
#include <QDialogButtonBox>
#include <QTabWidget>
#include <QLabel>
#include <QMenu>
#include "TabBar.h"
#include <QDialog>
#include <QTranslator>
#include "../Core/SoundObj.hpp"
#include <QSlider>

class EqualizeWindow : public QDialog
{
	Q_OBJECT

	public:
		EqualizeWindow(SoundObj *so, QMainWindow *parent = 0);
		~EqualizeWindow();

	public slots:
		//void changeLabel(int val);
		void windowSize();
		void accept();
		void upDateEqualizer(int);

	private:

	    const static long winWidth  = 300L;
		const static long winHeight = 300L;
		const static long nbrSlider = 10L;

		const static long minFactor = 0L;
		const static long maxFactor = 20L;

		const static long defaultValue = 10L;

		SoundObj *soundObj;
		//Ui::Multimedia_ToolboxClass ui;

		QVBoxLayout ** sliderLayout;
		QHBoxLayout * slidersLayout;
		QVBoxLayout * mainLayout;

		QSlider ** sliders;
		QLabel  ** labels;

		QDialogButtonBox *buttonBox;
};

#endif // MYWINDOW_H
